<template>
	<view class="">
	  <u-navbar backIconColor="#fff" :borderBottom="false" :title="title +'的店铺'" 
		titleColor="#fff" :background="{background: 'var(--mainColor)'}" :custom-back="back"></u-navbar>
	</view>
</template>

<script>
	export default {
		name:"supplier-navbar",
		props: {
			title: {
				type: String,
				default: ''
			},
			type: {
				type: [Number, String],
				default: 2
			},
		},
		data() {
			return {
				
			};
		},
		methods: {
			back() {
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss">

</style>
